package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

/**
 * 对账管理
 */
@Data
@Accessors(chain = true)
@ApiModel("对账管理")
public class ReconciliationAdmin implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单统计id
     */
    @TableId
    @ApiModelProperty("订单统计id")
    private Long id;

    /**
     * 门店id
     */
    @ApiModelProperty("门店id")
    private Long storeId;

    /**
     * 支付金额
     */
    @ApiModelProperty("支付金额")
    private BigDecimal payAmount;

    /**
     * 退款金额
     */
    @ApiModelProperty("退款金额")
    private BigDecimal refuseAmount;

    /**
     * 创建时间(凌晨03分)
     */
    @ApiModelProperty("创建时间(凌晨03分)")
    private Date createTime;

    /**
     * 统计时间
     */
    @ApiModelProperty("统计时间")
    private LocalDate statisticTime;

    /**
     * 净收入
     */
    @ApiModelProperty("净收入")
    private BigDecimal profit;

    /**
     * 商户id
     */
    @ApiModelProperty("商户id")
    private Long merchantId;

    @ApiModelProperty("支付单数")
    private Integer payCount;

}
